home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_1921 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  1.9 KB  |  48 lines

  1. on(press){
  2.    if(_root.inven._currentframe == 1)
  3.    {
  4.       if(_root.micon._currentframe == 40 && _root.range == true)
  5.       {
  6.          _root.next_dis1 = 2;
  7.          _root.next_txt1 = "That\'s a little drastic don\'t you think?";
  8.       }
  9.       if(_root.micon._currentframe == 1 && _root.range == true)
  10.       {
  11.          _root.sfx.gotoAndStop(3);
  12.          _root.txt_number = 9;
  13.          _root.next_dis9 = 2;
  14.          _root.di9 = 461;
  15.          _root.next_txt9 = "Gotcha!";
  16.          _root.next_dis8 = 14;
  17.          _root.di8 = 452;
  18.          _root.next_txt8 = "Thank you!  YouΓÇÖre my hero!";
  19.          _root.next_dis7 = 2;
  20.          _root.di7 = 453;
  21.          _root.next_txt7 = "It was nothing.  By the way, who are you?  IΓÇÖve never seen you here before.";
  22.          _root.next_dis6 = 14;
  23.          _root.di6 = 454;
  24.          _root.next_txt6 = "IΓÇÖm Susan.  IΓÇÖm Ms BatesΓÇÖ niece.";
  25.          _root.next_dis5 = 2;
  26.          _root.di5 = 455;
  27.          _root.next_txt5 = "Oh Hi!  IΓÇÖm Hewitt.  Ms Bates actually told me you were coming in today.";
  28.          _root.next_dis4 = 2;
  29.          _root.di4 = 456;
  30.          _root.next_txt4 = "This is kind of embarrassing for me, but she was actually going to try to set us up for the dance tonight.";
  31.          _root.next_dis3 = 14;
  32.          _root.di3 = 457;
  33.          _root.next_txt3 = "IΓÇÖd actually love to go!  I hope you know how to dance because I love to!";
  34.          _root.next_dis2 = 2;
  35.          _root.di2 = 458;
  36.          _root.next_txt2 = "Of course I know how to danceΓǪ  Well, IΓÇÖll pick you up at seven tonight.";
  37.          _root.next_dis1 = 14;
  38.          _root.di1 = 459;
  39.          _root.next_txt1 = "Sounds great.  IΓÇÖll have my Aunt fill you in with all my information.";
  40.       }
  41.       if(_root.micon._currentframe == 2)
  42.       {
  43.          _root.next_dis1 = 2;
  44.          _root.next_txt1 = "Thats a pretty scary looking rat.";
  45.       }
  46.    }
  47. }
  48.